home *** CD-ROM | disk | FTP | other *** search
/ The Microsoft Windows 95 Recource Kit Utilities / Recouce Kit Utilities.iso / rkutil / quickres.inf < prev    next >
INI File  |  1995-10-12  |  4KB  |  98 lines

  1. ; quickres.INF
  2.  
  3. ; This is the Setup information file to install the animated cursor editor
  4.  
  5. ; Copyright (c) 1993-1995 Microsoft Corporation
  6.  
  7.  
  8. [version]
  9. LayoutFile=rklayout.inf
  10. signature="$CHICAGO$"
  11. SetupClass=BASE
  12.  
  13. [DestinationDirs]
  14. Register.Copy    = 17    ; LDID_INF
  15. rklayout.copy = 17     ;  LDID_INF
  16. quickresCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%    ; LDID_APPS\Program Files\Resource Kit
  17.  
  18. [Optional Components]
  19. quickres
  20.  
  21. [quickres]
  22. OptionDesc  = %quickres_Desc%
  23. Tip         = %quickres_TIP%
  24. CopyFiles   = quickresCopyFiles, Register.Copy, rklayout.copy
  25. UpdateInis  = quickres.Inis
  26. AddReg      = quickresReg, quickres.install.reg, Register.AddReg
  27. InstallType = 0            ;Manual only
  28. IconIndex   = 2            ;Default (diamond) mini-icon for dialogs
  29. Uninstall   = quickres_remove
  30.  
  31.  
  32. [quickres_remove]
  33. DelFiles    = quickresCopyFiles, Register.Copy
  34. DelReg      = UnRegister.DelReg
  35. UpdateInis  = quickres.Rem.Inis
  36.  
  37.  
  38. [rklayout.Copy]
  39. rklayout.inf
  40.  
  41. [Register.Copy]
  42. quickres.inf
  43.  
  44. [quickresCopyFiles]
  45. quickres.exe
  46. quickres.txt
  47.  
  48. [Register.AddReg]
  49. ;Create entries for Maint Mode Setup
  50. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\quickres,DisplayName,,%quickres_Desc%
  51. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\quickres,UninstallString,,"RunDll setupx.dll,InstallHinfSection quickres_Remove 4 quickres.INF"
  52.  
  53. [UnRegister.DelReg]
  54. ;Remove entries for Maint Mode Setup
  55. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\quickres
  56.  
  57. [quickresReg]
  58. ; create the long-name for "Program Files"
  59. ; Note that when you rename a long name, VFAT changes the short name from
  60. ; foobar~1 to foobar~2.  To avoid this, we introduce a work around in the form of
  61. ; an intermediate rename
  62. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
  63. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
  64. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
  65. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
  66. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
  67. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
  68. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
  69.  
  70.  
  71. [quickres.Inis]
  72. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  73. setup.ini, group11,, """%quickres_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\quickres.EXE,,, quickres"       ;creates link
  74.  
  75. [quickres.Rem.Inis]
  76. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  77. setup.ini, group11,, """%quickres_Desc%"""                      ;deletes link
  78.  
  79.  
  80. [Strings]
  81. RKTOOLS_DESC   = "Resource Kit"
  82. quickres_Desc    = "Quick Resolution Changer"
  83. quickres_TIP     = "Allows you to quickly change the resolution of the display from the taskbar."
  84. DSK = "Windows 95 Resource Kit"
  85.  
  86.  
  87.  
  88. ; Directory names - note that that short versions must match the truncated
  89. ; 8 char names for the long versions, or else there will be problems.
  90. ; also need to put the short versions in the [DestinationDirs] section above
  91. ; Used by wordpad, hypertrm, backup, paint, & MSN
  92. Program_Files    = "Programme"         ; changed for the German version of Windows 95
  93. PROGRAMF         = "Progra~1"          ; first 6 chars of Program_Files, + "~1"
  94. OEM_PROGRAMF     = "Progra~1"          ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
  95. ResourceKit      = "Resource Kit"
  96. RESOURCE         = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"
  97. OEM_RESOURCE     = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"  - in OEM codepage (not Ansi)
  98.